summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-11-30 15:21:19 +0100
committerGitHub <noreply@github.com>2023-11-30 15:21:19 +0100
commit3a12fe5d13e6d6d43239aa6ab416cd53749b5d87 (patch)
tree7ad8b5a0d09938ebf4244258ec7efaa13800e62a
parentMerge pull request #12225 from liamwhite/mac-ci (diff)
parentcmake: sync gamemode conditionals with code after 5eec980a2d71 (diff)
downloadyuzu-3a12fe5d13e6d6d43239aa6ab416cd53749b5d87.tar
yuzu-3a12fe5d13e6d6d43239aa6ab416cd53749b5d87.tar.gz
yuzu-3a12fe5d13e6d6d43239aa6ab416cd53749b5d87.tar.bz2
yuzu-3a12fe5d13e6d6d43239aa6ab416cd53749b5d87.tar.lz
yuzu-3a12fe5d13e6d6d43239aa6ab416cd53749b5d87.tar.xz
yuzu-3a12fe5d13e6d6d43239aa6ab416cd53749b5d87.tar.zst
yuzu-3a12fe5d13e6d6d43239aa6ab416cd53749b5d87.zip
-rw-r--r--externals/CMakeLists.txt2
-rw-r--r--src/common/CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt
index 8e1fc696a..04007a538 100644
--- a/externals/CMakeLists.txt
+++ b/externals/CMakeLists.txt
@@ -193,7 +193,7 @@ if (ANDROID)
endif()
endif()
-if (CMAKE_SYSTEM_NAME STREQUAL "Linux")
+if (UNIX AND NOT APPLE)
add_subdirectory(gamemode)
endif()
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt
index bbc55eb56..2c6fc7657 100644
--- a/src/common/CMakeLists.txt
+++ b/src/common/CMakeLists.txt
@@ -182,7 +182,7 @@ if(ANDROID)
)
endif()
-if (CMAKE_SYSTEM_NAME STREQUAL "Linux")
+if (UNIX AND NOT APPLE)
target_sources(common PRIVATE
linux/gamemode.cpp
linux/gamemode.h